﻿using SimpleSaas.Common.DataBase;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleSaas.Entity
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	[SugarTable("sys_database_table")]
	public class SysDatabaseEntity : ComplexEntity<long>
	{
		/// <summary>
		/// 
		/// </summary>
		[SugarColumn(ColumnName = "display_name")]
		public string DisplayName { get; set; }
		/// <summary>
		/// 
		/// </summary>

		[SugarColumn(ColumnName = "database_connection_str")]
		public string DatabaseConnectionStr { get; set; }
		/// <summary>
		/// 
		/// </summary>

		[SugarColumn(ColumnName = "remark")]
		public string Remark { get; set; }

		/// <summary>
		/// true 主数据库
		/// </summary>

		[SugarColumn(ColumnName = "master_flag")]
		public bool MasterFlag { get; set; }
	}
}